package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.QualityWeighReq;
import com.ruibang.glass.quality.entity.QualityWeigh;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;

import java.util.List;

/**
 * <p>
 * 半成品称重信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-03-11
 */
public interface QualityWeighService extends IService<QualityWeigh> {

    /***
     * 新增质量半成品称重信息
     * @param qualityWeigh
     */
    void saveInfo(QualityWeigh qualityWeigh);

    /***
     * 更新质量半成品称重信息
     * @param qualityWeigh
     */
    void updateInfo(QualityWeigh qualityWeigh);

    /***
     * 删除
     * @param id
     */
    void delete(String id);

    /***
     * 分页列表查询质量半成品称重信息
     * @param pageRequest
     * @return
     */
    PageResult<QualityWeigh> queryPage(PageRequest<QualityWeighReq> pageRequest);

    /***
     * 非分页列表查询质量半成品称重信息
     * @param requestReq
     * @return
     */
    List<QualityWeigh> queryQualityWeigh(QualityWeighReq requestReq);
}
